﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StudentEventHandler
{
    class Program
    {
        static void Main(string[] args)
        {
            DateTime birthDate = new DateTime(1989,2,14);
            Student pesho = new Student("pesho","gosho","male",birthDate);
            pesho.PropertyChanged += new StudentInformationChandedEventHandler(Student.Person_PropertyChanged);

            pesho.FirstName = "gosho";
            pesho.LastName = "todor";
            pesho.Gender = "female";
            pesho.BirtDate = new DateTime(1989, 2, 16);
        }
    }
}
